package com.hnhy.hnhyscms_ws.dao;

import com.hnhy.hnhyscms_ws.entity.Spstorage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ISpstorageDao {
    List<Spstorage> getAllProducts();
    Spstorage getByProductNo(@Param("productNo")String productNo);
    void addProducts(Spstorage spstorage);
    Spstorage findMaxId();
    void updateByProductNo(Spstorage spstorage);
    void changeByProductNo(Spstorage spstorage);
    void deleteByProductNo(@Param("productNo")String productNo);
}
